package com.yzpass.api.user.mapper;

import com.yzpass.api.user.entity.Role;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;


/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author junfeng
 * @since 2025-01-22
 */
@Mapper
public interface RoleMapper extends BaseMapper<Role> {
    @Select("select * from yu_role where role_id = #{id}::uuid")
    Role selectById(@Param("id")String id);
}
